﻿<%@ Page Title="找回密码" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="FindPassword.aspx.cs" Inherits="TeachingAffairsManagementSystem.FindPassword" %>

<%@ Register Src="~/WebControl/AlertBox.ascx" TagPrefix="uc1" TagName="AlertBox" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="server">
    <webopt:bundlereference runat="server" path="~/Content/Form.css"/>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="col-xs-12 main-content">
        <div class="form-container">
            <div class="header-lined">
                <h1>
                    找回密码
                </h1>
            </div>
            <uc1:AlertBox runat="server" ID="Alert" />
            <div class="row">
                <div class="col-sm-12">
                    <div class="form">
                        <div class="form-group">
                            <label>用户名 &nbsp;&nbsp;</label>
                            <asp:RequiredFieldValidator runat="server" ControlToValidate="TBUsername" SetFocusOnError="True" ForeColor="Red" ErrorMessage="请输入用户名"></asp:RequiredFieldValidator>
                            <asp:TextBox ID="TBUsername" runat="server" CssClass="form-control" placeholder="请输入用户名" autofocus="autofocus" MaxLength="45"></asp:TextBox>
                        </div>
                        <div class="form-group">
                            <label class="radio-inline">
                                <input runat="server" name="Gender" ID="RStudent" type="radio" checked/>学生
                            </label>
                            <label class="radio-inline">
                                <input runat="server" name="Gender" ID="RTeacher" type="radio"/>教师
                            </label>
                        </div>
                        <div align="center">
                            <asp:Button ID="BtnFind" runat="server" Text="找回" CssClass="btn btn-primary" OnClick="BtnFind_Click"/>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>